<template>
	<view>
		<view class="" style="margin: 0 30rpx;font-size: 28rpx;" v-html="data"></view>
	</view>
</template>

<script>
	import { getShopDataRichtext } from '@/apis'
	export default {
		data() {
			return {
				data:''
			}
		},
		onLoad() {
			this.getdata()
			uni.setNavigationBarTitle({
			  title: this.info.app.privacy_protocol.title,
			});
		},
		methods: {
			async getdata(){
				let res = await getShopDataRichtext(this.info.app.privacy_protocol.id)
				this.data=res.data.content
			}
		}
	}
</script>

<style lang="scss" scoped>
	p{
		font-size: 22rpx;
	}
</style>
